package com.fanshilz.flower2025.business.flower.project.entity;

import com.fanshilz.flower2025.framework.mybatisflex.BaseEntity;
import com.fanshilz.flower2025.framework.mybatisflex.InsertOrUpdateListener;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.sql.Timestamp;
import java.time.LocalDateTime;

/**
 * 实体类。
 *
 * @author fugui
 * @since 2024-10-18
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "flower_project", onInsert = InsertOrUpdateListener.class, onUpdate = InsertOrUpdateListener.class)
public class Project extends BaseEntity {

    @Id(keyType = KeyType.Auto)
    private Long projectId;

    /**
     * UUID
     */
    private String projectUuid;

    /**
     * 项目名称
     */
    private String projectName;

    /**
     * 年收入
     */
    private Double projectIncomeYearMoney;

    /**
     * 年利润
     */
    private Double projectProfitYearMoney;

    /**
     * 成立时间
     */
    private Timestamp projectFoundingTime;

    /**
     * 成立了多少年
     */
    private Integer projectFoundingTimeYear;

    /**
     * 地址省份
     */
    private String projectProvinceName;

    /**
     * 地址省份code
     */
    private String projectProvinceCode;

    /**
     * 地址城市
     */
    private String projectCityName;

    /**
     * 地址城市code
     */
    private String projectCityCode;

    /**
     * 地址区
     */
    private String projectAreaName;

    /**
     * 地址区code
     */
    private String projectAreaCode;

    /**
     * 售价 叫价
     */
    private Double projectSellingPriceMoney;

    /**
     * 行业
     */
    private String projectIndustryLabel;

    /**
     * 行业value
     */
    private Integer projectIndustryValue;

    /**
     * 类型
     */
    private String projectTypeLabel;

    /**
     * 类型value
     */
    private Integer projectTypeValue;

    /**
     * 员工人数
     */
    private Integer projectEmployeesNumber;

    /**
     * 出售原因
     */
    private String projectSellReasonLabel;

    /**
     * 出售原因value
     */
    private Integer projectSellReasonValue;

    /**
     * 出售股份比例
     */
    private Double projectSellSharesProportion;

    /**
     * 公司介绍
     */
    private String projectCorporationDesc;

    /**
     * 生意亮点
     */
    private String projectBusinessHighlightDesc;

    /**
     * 运营情况
     */
    private String projectOperationSituationDesc;

    /**
     * 其他信息
     */
    private String projectOtherDesc;

    /**
     * 项目状态
     */
    private String projectStatusLabel;

    /**
     * 项目状态value
     */
    private Integer projectStatusValue;

    /**
     * 交易状态
     */
//    private String projectTradingStatusLabel;

//    private Integer projectTradingStatusValue;

    /**
     * 发布人
     */
    private String projectUserName;

    private Integer projectUserAge;

    private String projectUserMobile;

    private String projectUserTypeLabel;

    private Integer projectUserTypeValue;

    private Integer createUserType;

    private Integer projectSort;

    private String projectShortName;

    private Timestamp projectPublishTime;
    private Long projectPublishUserId;
    private String projectPublishUserName;

//    private String projectWechatUserNickName;

//    private String projectWechatUserMobile;

}
